package com.jingdianjichi.subject.domain.comvert;


import com.jingdianjichi.subject.domain.entity.SubjectLabelBO;

import com.jingdianjichi.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface SubjectLabelConverter {
    SubjectLabelConverter INSTANCE=Mappers.getMapper(SubjectLabelConverter.class);
    SubjectLabel convertBoToLabel(SubjectLabelBO subjectLabelBO);

    List<SubjectLabelBO> convertToLabelBO(List<SubjectLabel> subjectLabelList);
    SubjectLabelBO convertLabelToBO(SubjectLabel subjectLabel);

}
